using UnityEngine;

namespace DOTS.DOD.LESSON0
{
    public class RotateCube : MonoBehaviour
    {
        [Range(0, 360)] public float RotateSpeed;

        void Update()
        {
            transform.Rotate(new Vector3(0, Time.deltaTime * RotateSpeed, 0));
        }
    }
}